package com.cjm.one.webmanager.service.system;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjm.one.model.base.BaseDeleteMoreVo;
import com.cjm.one.model.system.dto.SysRoleDto;
import com.cjm.one.model.system.entity.SysRole;
import com.cjm.one.model.system.vo.RoleDetailVO;

import java.util.List;

public interface SysRoleService {

    List<SysRole> getAllSysRoleList();

    Page<SysRole> page(SysRoleDto sysRoleDto);

    Boolean updateById(RoleDetailVO sysRole);

    Boolean save(RoleDetailVO sysRole);

    Boolean removeById(Long id);

    SysRole getById(Long id);

    BaseDeleteMoreVo removeByIds(List<Long> ids);

    Boolean updateStatus(SysRole sysRole);

    RoleDetailVO getSysRoleDetail(Long id);
}
